package com.huarui.button;

import java.util.Map;

import org.ewaf.framework.task.Handler;

public class ButtonHandler implements Handler{
	/**
	 * 按钮id
	 */
	private String id;
	/**
	 * 按钮文本
	 */
	private String value;
	/**
	 * 提示信息
	 */
	private String tips;
	/**
	 * 请求地址
	 */
	private String url;
	/**
	 * JS方法调用
	 */
	private String func;
	
	private Map<String, String> alertMeses;
	
	private String iconCls;
	
	@Override
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	@Override
	public String getValue() {
		return value;
	}
	public void setValue(String value) {
		this.value = value;
	}
	
	@Override
	public String getTips() {
		return tips;
	}
	public void setTips(String tips) {
		this.tips = tips;
	}
	
	@Override
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	
	@Override
	public String getFunc() {
		return func;
	}
	public void setFunc(String func) {
		this.func = func;
	}
	
	public void setAlertMeses(Map<String, String> alertMeses) {
		this.alertMeses = alertMeses;
	}
	
	@Override
	public Map<String, String> getAlertMeses() {
		return alertMeses;
	}
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	
}
